package com.baizhi.entity;
//对应layui_city表
public class City {
    private Integer id;
    private String name;
    private Integer gdb;
    private Province province;

    public City() {
    }

    public City(Integer id, String name, Integer gdb, Province province) {
        this.id = id;
        this.name = name;
        this.gdb = gdb;
        this.province = province;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getGdb() {
        return gdb;
    }

    public void setGdb(Integer gdb) {
        this.gdb = gdb;
    }

    public Province getProvince() {
        return province;
    }

    public void setProvince(Province province) {
        this.province = province;
    }

    @Override
    public String toString() {
        return "City{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", gdb=" + gdb +
                ", province=" + province +
                '}';
    }
}
